import { http } from '@/utils/http';
import type { AddressType } from '@/types/address';

export const getAddressAPI = () => {
  return http<AddressType[]>({
    url: '/address',
    method: 'GET',
  });
};
